Conversation
…ompt default, ace-understand binary, metadata saving Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix UI issues for acestep-cpp integration
Fix audio_cover_strength in reference mode, lm_negative_prompt default, ace-understand binary, and metadata persistence
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four distinct bugs in the acestep-cpp UI/backend integration: missing slider in reference mode, wrong LM default, ace-understand never installed to
bin/, and understand results not persisted.UI fixes (
components/CreatePanel.tsx)lm_negative_promptdefault:'NO USER INPUT'→''audio_cover_strengthslider: now shown in the AUDIO: REFERENCE tab when a reference audio is loaded (was cover-only)handleUnderstand: routes to/:id/understand(persists to DB) when the audio URL matches an uploaded reference track, falls back to/understand-urlotherwiseace-understand binary not found (
build.sh,build.bat)ace-understandwas never copied to./bin/post-build — onlyace-qwen3,dit-vae, andneural-codecwere. Config auto-discovery already looked in./bin/; the copy step was just missing.Also added
ACE_UNDERSTAND_BINto.env.exampleoverride docs.Metadata persistence (
server/)migrate.ts): addsunderstand_metadata TEXTcolumn toreference_tracksvia a safe incremental ALTER TABLE (idempotent, catches already-exists).referenceTrack.ts):POST /:id/understandnow saves the result JSON tounderstand_metadataafter analysis — best-effort, non-fatal on save failure.Reference audio in spawn mode (
server/src/services/acestep.ts)When
referenceAudioUrlis set in text-to-music mode,reference_audioandaudio_cover_strengthare now written into the request JSON passed to the binary — mirrors what the HTTP API path already did.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.